]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH] lib-sieve: Reduce CPU limit check interval in :contains and :matches matchers
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 25 May 2026 14:54:03 +0000 (14:54 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commite8b3821f2f0c37c02e6c1d1282b13c59d5eb40f9
treee3783e7efebc7668e710076da387c48f63fdd7a3
parentdd94a2b112f23407f7be9f8fac60a812be1d1d49
[PATCH] lib-sieve: Reduce CPU limit check interval in :contains and :matches matchers

Reduce the interval to 64 so worst-case work between checks is ~64 MiB.
cpu_limit_exceeded() is a signal-counter comparison with no syscall, so
the higher call frequency has no measurable cost.

Gbp-Pq: Name 0008-lib-sieve-Reduce-CPU-limit-check-interval-in-contain.patch
pigeonhole/src/lib-sieve/mcht-contains.c
pigeonhole/src/lib-sieve/mcht-matches.c